package Product;
import java.io.Serializable;
/**need accessors and mutators for price, upc, and description
 *
 * store the details of a product
 * @author Ken Nguyen
 */
public class Product implements Serializable{
    //initialization
    private float price;
    private int upc;
    private String description;
    //constructor
    public Product(int upc, String description, float price){
        this.upc = upc;
        this.description = description;
        this.price = price;
    }
    //get and set for product price
    public void setPrice(float price){
        this.price = price;
    }
    public float getPrice(){
        return this.price;
    }
    //get and set for product UPC
    public void setUPC(int UPC){
        this.upc = UPC;
    }
    public int getUPC(){
        return this.upc;
    }
    //get and set for product description
    public void setDescription(String description){
        this.description = description;
    }
    public String getDescription(){
        return this.description;
    }

}
